﻿using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace TIMA
{
    public partial class XForm : XtraForm
    {
        public XForm()
        {
            InitializeComponent();
        }

        public delegate void BarcodeReadHandler(int Barcode);
        public event BarcodeReadHandler BarcodeRead;

        public void FireBarcodeRead(int Barcode)
        {
            if (BarcodeRead != null)
                this.BeginInvoke(new BarcodeReadHandler(BarcodeRead), new object[] { Barcode });
             
            
        }
    }
}